package service;

import bean.pojo.GdDoctor;

import java.util.List;

public interface GdDoctorService {

    boolean insert(GdDoctor pojo);

    boolean insertList(List<GdDoctor> pojos);

    List<GdDoctor> select();

    List<GdDoctor> selectWithOrder(String condition);

    /**
     * 通过科室/名字查询医生
     * @param condition
     * @return
     */
    List<GdDoctor> selectByCondition(String column,Object condition);

    GdDoctor selectById(Long id);

    boolean update(GdDoctor pojo);

    boolean updateFollower(Long id,Integer followers);

}
